package com.sgl.gk.mapper;


import com.sgl.gk.domain.GkStatistics;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author:xec
 * @date:2022/10/31 18:50
 **/
public interface GkStatisticsMapper {


    List<GkStatistics> toDayInfo();

    int addList(List<GkStatistics> gkStatisticsList);

    List<GkStatistics> dataMonthStatisticsInfos(@Param("dateFlag") int dateFlag);

    int insert(GkStatistics gkStatistics);

    int updateTodayData(GkStatistics gkStatistics);

    GkStatistics selectYesterdayInfo();

    int edit(GkStatistics gkStatistics);

    void updateInfo(GkStatistics gkStatistic);
}
